package com.huangliusong.desigin.pattern.structual.facade;

/**
 * @author huangliusong
 * @since 2018/10/11
 * {@link }
 */
public class Test {
    public static void main(String[] args) {
        PointsGift pointsGift=new PointsGift("耳机");
        GiftExchangeService giftExchangeService=new GiftExchangeService();
//        giftExchangeService.setPointsPaymentService(new PointsPaymentService());
//        giftExchangeService.setQualifyService(new QualifyService());
//        giftExchangeService.setShippingService(new ShippingService());giftExchangeService.setPointsPaymentService(new PointsPaymentService());
//        giftExchangeService.setQualifyService(new QualifyService());
//        giftExchangeService.setShippingService(new ShippingService());
        giftExchangeService.giftExchange(pointsGift);
    }
}
